package com.bll.imple.sweepstakeAction;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bean.SweepstakeBean;
import com.bll.Action;
import com.dao.SweepstakeDao;

public class ShowOneSweepstakeAction implements Action{

	public String execute(HttpServletRequest request,
			HttpServletResponse response) {
		
		String lujing=request.getParameter("lujing");
		System.out.println("swe:"+lujing);
				SweepstakeDao dao=new SweepstakeDao();
				SweepstakeBean bean=dao.selectById(1);
				request.setAttribute("sbean", bean);
		
		
		
		return lujing+"?lujing=zhuanpan.jsp";
	}

}
